package com.nhatviet.webservice.activities.flickr;

import com.nhatviet.webservice.AppMain;
import com.nhatviet.webservice.R;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

public class FlickrItemDetailActivity extends Activity
{
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.flickr_item_detail);
		
		final ImageView imageView = (ImageView) findViewById(R.id.image_view_detail);
		final TextView textView = (TextView) findViewById(R.id.text_item_detail);
		
		imageView.setImageBitmap(AppMain.currentFlickrPhoto.getBitmap());
		textView.setText(AppMain.currentFlickrPhoto.getId());
	}
}
